import Axios from '../plugins/axios'
import { HTTPTypes } from './type'
import { baseURL } from './config'

// 共用：组织详情
export class UserRequest {
  /**
   * 用户搜索
   * @param params
   * @returns
  */
  static async getSearchList(params?: HTTPTypes['req']): Promise<HTTPTypes['res']> {
    return Axios.post(`${baseURL}/uc/api/user/searchList`, params)
  }
}
